package com.ruoyi.course.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程-用户-分数中间对象 user_course_score
 * 
 * @author qzg
 * @date 2025-08-19
 */
public class UserCourseScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增ID */
    private Long id;

    /** 外键关联用户表id */
    @Excel(name = "外键关联用户表id")
    private Integer userId;

    public Integer getCoursesId() {
        return coursesId;
    }

    public Integer getUserId() {
        return userId;
    }

    /** 外键关联课程表id */
    @Excel(name = "外键关联课程表id")
    private Integer coursesId;

    @Override
    public String toString() {
        return "UserCourseScore{" +
                "id=" + id +
                ", userId=" + userId +
                ", coursesId=" + coursesId +
                ", score=" + score +
                '}';
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setCoursesId(Integer coursesId) {
        this.coursesId = coursesId;
    }

    /** 课程对应分数 */
    @Excel(name = "课程对应分数")
    private BigDecimal score;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }

}
